//
//  WSAddCVHeadView.m
//  LANGirl
//
//  Created by 吴帅 on 16/3/18.
//
//

#import "WSAddCVHeadView.h"

@implementation WSAddCVHeadView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = LV;
        self.alpha = 0.6;
        [self createSubView];
    }
    return self;
}

- (void)createSubView {

    UILabel * renwuLabel = [[UILabel alloc] init];
    [self addSubview:renwuLabel];
    renwuLabel.font = [UIFont fontWithName:ZIXING size:TEXTCONTENTFONT2 * TEXTWEIGHT];
    renwuLabel.text = @"";
    [renwuLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.centerX.centerY.equalTo(self);
        make.size.mas_equalTo(CGSizeMake(0, 0));
    }];
    
    UIImageView *imageView = [[UIImageView alloc]init];
    //    imageView.backgroundColor = [UIColor greenColor];
    imageView.image = [UIImage imageNamed:@""];
    [self addSubview:imageView];
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.centerY.equalTo(self);
        make.left.equalTo(renwuLabel.mas_right).offset(2.00);
        make.size.mas_equalTo(CGSizeMake(20.00*AUTO_WIDTH, 20.00*AUTO_WIDTH));
    }];
}


@end
